css|xml| Display CSS (stacked style sheet) and XSL (extensible Style language) can define the display of XML files, what are the differences between these two ways and how they are used, which we will give in this article.
In an XML file, which is
Css|xml
CSS (stacked style sheets) and XSL (extensible Style language) can define the display of XML files, what are the differences between them, and how they are used, which we'll give you in this article.In an XML file, which is basically a
2 XSLT Element 1. xsl: If: A simple condition judgment element.
1. declaration method:
Test = boolean-Expression>
Partial attribute description:
2. Test
A logical expression. if it is true, the operation expressed by the content of xsl: if
1. Use of templates
Some encoding tables are stored in the database, but some Chinese characters are displayed.
In this case, we can define an XSL file that stores data. I have defined a codetab. XSL
Reference this file to the archive. XSL file,
When using PHP to parse XSL in php applications, the template technology is required for data and code separation. Pear, phplib and many companies have provided related templates. However, they share a common drawback: there is no uniform
The XSL-FO defines the output within the fo: flow element. The XSL-FO Page, Flow, and Block content blocks Flow into the Page and then output to the media. XSL-FO output is usually nested in the fo: block element, the fo: block is nested in the fo:
A XSL-FO document is an XML file with output information. The XSL-FO document is an XML file with output information. They contain information about the output layout and output content. XSL-FO documents are stored in files suffixed with. fo or. fob.
Basic Tutorials
xsl– ConversionThis section will give an example of how to convert XML into HTML using XSL. The details of this example will be explained in the next section.Starting from an XML documentStart
Some time ago inadvertently see a blog RSS can be used in the XSL format output and can be browsed in Firefox, think of their previous written an XML guest book because it is not compatible with Firefox, and now see his ability to browse in Firefox
Object
The World Wide Web Consortium's canonical book plans an extensible Style language (XSL) into two parts:XSLT is used to transform XML filesAn XML function library in which the XSL Object Format (XSL FO) is used to describe the format
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.